<!DOCTYPE html>
<html lang="zh">
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
		<title>PC端适配移动端</title>
	</head>
	<style type="text/css">
		*{
			margin: 0;
			padding: 0;
			
		}
		.con{
			min-width: 1200px;
			height: 200px;
			margin: 0 auto;
			background-color: yellowgreen;
			font-size: 16px;
		}
		.con2{
			width: 100vw;
			height: 200px;
			margin: 0 auto;
			background-color: blue;
			display: none;
			font-size: 16px;
		}
		/*@media screen and (max-width: 640px) {
			.con{
				display: none;
			}
			.con2{
				display: block;
			}
		}*/
	</style>
<body>
	<div class="con">111</div>
	<div class="con2">
		222
	</div>
</body>
<script src="js/rem.js"></script>
<link rel="stylesheet" type="text/css" media="screen and (max-width: 640px)" href="css/pc_mobile.css" />
</html>